/*
 * @Author: czy
 * @Date: 2021-04-24 08:16:01
 * @LastEditTime: 2021-05-19 16:33:57
 */

/**
 * @description: Interrupt switch on.
 */
void enable_interrupt(void)
{
    __asm__ __volatile__("sti");
}

/**
 * @description: Interrupt switch off.
 */
void disable_interrupt(void)
{
    __asm__ __volatile__("cli");
}